package com.xmut.mall.store.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("store_region")
public class StoreRegionEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ID_WORKER)
    private Long id;

    private String adCode; //区域编码

    private String center; //区域中心点经纬度

    private String cityCode; //城市代码

    private String level; // 行政区划级别

    private String name; // 名称

    private Integer orderNum; //排序

    private Long parentId; //父Id

    private String path; //行政地区路径

    private Date createTime; //创建时间
}
